home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14869 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6c 6f | 63 75 74 75 73 2e 72 63 |Path: lo|cutus.rc|
|00000010| 68 6c 61 6e 64 2e 69 62 | 6d 2e 63 6f 6d 21 75 73 |hland.ib|m.com!us|
|00000020| 65 6e 65 74 0a 46 72 6f | 6d 3a 20 50 68 69 6c 69 |enet.Fro|m: Phili|
|00000030| 70 20 53 74 61 69 74 65 | 20 3c 70 73 74 61 69 74 |p Staite| <pstait|
|00000040| 65 2b 40 72 63 68 6c 61 | 6e 64 2e 69 62 6d 2e 63 |e+@rchla|nd.ibm.c|
|00000050| 6f 6d 3e 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |om>.News|groups: |
|00000060| 63 6f 6d 70 2e 6c 61 6e | 67 2e 63 2b 2b 0a 53 75 |comp.lan|g.c++.Su|
|00000070| 62 6a 65 63 74 3a 20 52 | 65 3a 20 5a 65 72 6f 69 |bject: R|e: Zeroi|
|00000080| 6e 67 20 6f 75 74 20 61 | 20 63 73 73 0a 44 61 74 |ng out a| css.Dat|
|00000090| 65 3a 20 54 75 65 2c 20 | 30 32 20 41 70 72 20 31 |e: Tue, |02 Apr 1|
|000000a0| 39 39 36 20 30 37 3a 31 | 34 3a 30 34 20 2d 30 36 |996 07:1|4:04 -06|
|000000b0| 30 30 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |00.Organ|ization:|
|000000c0| 20 49 42 4d 20 52 6f 63 | 68 65 73 74 65 72 2c 20 | IBM Roc|hester, |
|000000d0| 4d 4e 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |MN.Messa|ge-ID: <|
|000000e0| 33 31 36 31 32 38 31 43 | 2e 34 31 43 36 40 72 63 |3161281C|.41C6@rc|
|000000f0| 68 6c 61 6e 64 2e 69 62 | 6d 2e 63 6f 6d 3e 0a 52 |hland.ib|m.com>.R|
|00000100| 65 66 65 72 65 6e 63 65 | 73 3a 20 3c 34 6a 6f 76 |eference|s: <4jov|
|00000110| 64 6a 24 33 6d 62 40 69 | 73 74 77 6f 6b 2e 6f 64 |dj$3mb@i|stwok.od|
|00000120| 73 2e 63 6f 6d 3e 0a 4e | 4e 54 50 2d 50 6f 73 74 |s.com>.N|NTP-Post|
|00000130| 69 6e 67 2d 48 6f 73 74 | 3a 20 70 6f 77 65 72 74 |ing-Host|: powert|
|00000140| 6f 6f 6c 2e 72 63 68 6c | 61 6e 64 2e 69 62 6d 2e |ool.rchl|and.ibm.|
|00000150| 63 6f 6d 0a 4d 69 6d 65 | 2d 56 65 72 73 69 6f 6e |com.Mime|-Version|
|00000160| 3a 20 31 2e 30 0a 43 6f | 6e 74 65 6e 74 2d 54 79 |: 1.0.Co|ntent-Ty|
|00000170| 70 65 3a 20 74 65 78 74 | 2f 70 6c 61 69 6e 3b 20 |pe: text|/plain; |
|00000180| 63 68 61 72 73 65 74 3d | 75 73 2d 61 73 63 69 69 |charset=|us-ascii|
|00000190| 0a 43 6f 6e 74 65 6e 74 | 2d 54 72 61 6e 73 66 65 |.Content|-Transfe|
|000001a0| 72 2d 45 6e 63 6f 64 69 | 6e 67 3a 20 37 62 69 74 |r-Encodi|ng: 7bit|
|000001b0| 0a 58 2d 4d 61 69 6c 65 | 72 3a 20 4d 6f 7a 69 6c |.X-Maile|r: Mozil|
|000001c0| 6c 61 20 32 2e 30 31 20 | 28 58 31 31 3b 20 49 3b |la 2.01 |(X11; I;|
|000001d0| 20 41 49 58 20 31 29 0a | 54 6f 3a 20 4b 65 76 69 | AIX 1).|To: Kevi|
|000001e0| 6e 20 41 6c 65 78 61 6e | 64 65 72 20 3c 6b 65 76 |n Alexan|der <kev|
|000001f0| 69 6e 40 77 68 6f 2e 6f | 64 73 2e 63 6f 6d 3e 0a |in@who.o|ds.com>.|
|00000200| 0a 4b 65 76 69 6e 20 41 | 6c 65 78 61 6e 64 65 72 |.Kevin A|lexander|
|00000210| 20 77 72 6f 74 65 3a 0a | 3e 20 0a 3e 20 49 20 61 | wrote:.|> .> I a|
|00000220| 6d 20 63 75 72 69 6f 75 | 73 20 77 68 61 74 20 74 |m curiou|s what t|
|00000230| 68 65 20 69 6d 70 6c 69 | 63 61 74 69 6f 6e 73 20 |he impli|cations |
|00000240| 6f 66 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |of the f|ollowing|
|00000250| 20 63 6f 64 65 20 73 6e | 69 70 65 74 20 77 6f 75 | code sn|ipet wou|
|00000260| 6c 64 20 62 65 2e 2e 2e | 3f 0a 3e 20 49 20 68 61 |ld be...|?.> I ha|
|00000270| 76 65 20 6e 65 76 65 72 | 20 73 65 65 6e 20 69 74 |ve never| seen it|
|00000280| 20 75 73 65 64 20 62 65 | 66 6f 72 65 20 77 68 69 | used be|fore whi|
|00000290| 63 68 20 6d 61 6b 65 73 | 20 6d 65 20 63 75 72 69 |ch makes| me curi|
|000002a0| 6f 75 73 2e 2e 2e 0a 3e | 20 0a 3e 20 78 3a 3a 78 |ous....>| .> x::x|
|000002b0| 28 29 0a 3e 20 7b 0a 3e | 20 20 20 20 6d 65 6d 73 |().> {.>| mems|
|000002c0| 65 74 28 74 68 69 73 2c | 20 30 78 30 2c 20 73 69 |et(this,| 0x0, si|
|000002d0| 7a 65 6f 66 28 78 29 29 | 3b 0a 3e 20 7d 0a 0a 49 |zeof(x))|;.> }..I|
|000002e0| 74 20 6a 75 73 74 20 62 | 6c 61 73 74 73 20 61 6c |t just b|lasts al|
|000002f0| 6c 20 6f 66 20 74 68 65 | 20 69 6e 73 74 61 6e 63 |l of the| instanc|
|00000300| 65 20 64 61 74 61 20 66 | 6f 72 20 74 68 61 74 20 |e data f|or that |
|00000310| 6f 62 6a 65 63 74 20 74 | 6f 20 62 69 6e 61 72 79 |object t|o binary|
|00000320| 20 30 2e 0a 0a 54 68 69 | 73 20 2a 6d 61 79 2a 20 | 0...Thi|s *may* |
|00000330| 62 65 20 61 20 71 75 69 | 63 6b 20 61 6e 64 20 65 |be a qui|ck and e|
|00000340| 61 73 79 20 77 61 79 20 | 6f 66 20 69 6e 69 74 69 |asy way |of initi|
|00000350| 61 6c 69 7a 69 6e 67 20 | 74 68 65 20 69 6e 73 74 |alizing |the inst|
|00000360| 61 6e 63 65 20 64 61 74 | 61 20 6f 66 0a 74 68 65 |ance dat|a of.the|
|00000370| 20 6f 62 6a 65 63 74 2e | 20 28 79 65 73 2c 20 49 | object.| (yes, I|
|00000380| 20 68 61 76 65 20 75 73 | 65 64 20 69 74 20 73 65 | have us|ed it se|
|00000390| 76 65 72 61 6c 20 74 69 | 6d 65 73 29 20 20 48 6f |veral ti|mes) Ho|
|000003a0| 77 65 76 65 72 2c 20 69 | 74 20 63 61 6e 20 61 6c |wever, i|t can al|
|000003b0| 73 6f 20 62 65 0a 64 61 | 6e 67 65 72 6f 75 73 20 |so be.da|ngerous |
|000003c0| 61 6e 64 20 65 72 72 6f | 72 2d 70 72 6f 6e 65 2e |and erro|r-prone.|
|000003d0| 20 20 49 74 20 69 73 20 | 6f 6e 6c 79 20 73 61 66 | It is |only saf|
|000003e0| 65 20 69 66 3a 0a 0a 31 | 29 20 78 20 64 6f 65 73 |e if:..1|) x does|
|000003f0| 20 6e 6f 74 20 68 61 76 | 65 20 76 69 72 74 75 61 | not hav|e virtua|
|00000400| 6c 20 66 75 6e 63 74 69 | 6f 6e 73 20 6f 72 20 61 |l functi|ons or a|
|00000410| 20 76 74 62 6c 20 70 6f | 69 6e 74 65 72 0a 0a 32 | vtbl po|inter..2|
|00000420| 29 20 78 20 64 6f 65 73 | 20 6e 6f 74 20 75 74 69 |) x does| not uti|
|00000430| 6c 69 7a 65 20 52 54 54 | 49 20 28 77 68 69 63 68 |lize RTT|I (which|
|00000440| 20 6d 61 79 20 70 75 74 | 20 68 69 64 64 65 6e 20 | may put| hidden |
|00000450| 69 6e 66 6f 20 69 6e 20 | 74 68 65 20 6f 62 6a 65 |info in |the obje|
|00000460| 63 74 3f 29 0a 0a 33 29 | 20 4c 6f 6f 6b 20 6f 76 |ct?)..3)| Look ov|
|00000470| 65 72 20 78 27 73 20 61 | 6e 63 65 73 74 6f 72 20 |er x's a|ncestor |
|00000480| 28 62 61 73 65 29 20 63 | 6c 61 73 73 65 73 20 63 |(base) c|lasses c|
|00000490| 61 72 65 66 75 6c 6c 79 | 2e 20 20 57 68 61 74 20 |arefully|. What |
|000004a0| 77 69 6c 6c 20 68 61 70 | 70 65 6e 0a 20 20 20 74 |will hap|pen. t|
|000004b0| 6f 20 74 68 65 6d 20 69 | 66 20 74 68 65 69 72 20 |o them i|f their |
|000004c0| 69 6e 73 74 61 6e 63 65 | 20 64 61 74 61 20 69 73 |instance| data is|
|000004d0| 20 73 75 64 64 65 6e 6c | 79 20 77 69 70 65 64 20 | suddenl|y wiped |
|000004e0| 74 6f 20 30 3f 20 28 72 | 65 6d 65 6d 62 65 72 2c |to 0? (r|emember,|
|000004f0| 0a 20 20 20 62 61 73 65 | 20 63 6c 61 73 73 65 73 |. base| classes|
|00000500| 20 61 72 65 20 63 6f 6e | 73 74 72 75 63 74 65 64 | are con|structed|
|00000510| 20 66 69 72 73 74 21 29 | 0a 0a 0a 2d 2d 20 0a 0a | first!)|...-- ..|
|00000520| 50 68 69 6c 20 53 74 61 | 69 74 65 2c 20 28 35 30 |Phil Sta|ite, (50|
|00000530| 37 29 20 32 35 33 2d 32 | 35 32 39 2c 20 74 65 61 |7) 253-2|529, tea|
|00000540| 6d 20 4f 53 2f 32 0a 69 | 6e 74 65 72 6e 65 74 3a |m OS/2.i|nternet:|
|00000550| 20 70 73 74 61 69 74 65 | 40 76 6e 65 74 2e 69 62 | pstaite|@vnet.ib|
|00000560| 6d 2e 63 6f 6d 20 20 69 | 6e 74 65 72 6e 61 6c 3a |m.com i|nternal:|
|00000570| 20 70 73 74 61 69 74 65 | 40 72 63 68 6c 61 6e 64 | pstaite|@rchland|
|00000580| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+